import request from '@/utils/request'

/* 登录的接口 */
export const loginAPI = data => request({ url: '/sys/login', method: 'POST', data })

/* 获取用户信息的接口 */
export const getUserInfoAPI = () => request({ url: '/sys/profile', method: 'GET' })

/* 修改用户密码的接口 */
export const updateUserPasswordAPI = data => request({ url: '/sys/user/updatePass', method: 'PUT', data })

